package pattern.proxy;

public class BusinessProx implements IBusiness{
    private BusinessImpl business;

    public BusinessProx(BusinessImpl business) {
        this.business = business;
    }

    @Override
    public void execute() {
        System.out.println("before business");
        this.business.execute();
        System.out.println("after business");

    }
}
